package com.authine.cloudpivot.ext.dto;

import com.authine.cloudpivot.ext.enums.VendorOrderStatusV1Enum;
import com.authine.cloudpivot.ext.enums.order.OrderVendorStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @ClassName OrderVendorDto
 * @Description: 供应商订单表
 * @Author cjj
 * @Date 2021/4/9
 * @Version V1.0
 **/
@Data
@Schema(description = "OrderVendorDto")
@ApiModel("供应商订单表")
public class OrderVendorDto {
    @Schema(description = "供应商订单ID")
    private String id;
    @Schema(description = "供应商订单ID集合")
    private List<String> ids;
    @Schema(description = "客户订单ID")
    private String orderCustomerId;
    @Schema(description = "客户订单ID集合")
    private List<String> orderCustomerIdList;
    @Schema(description = "供应商ID集合")
    private List<String> vendorIdList;
    @Schema(description = "状态")
    private OrderVendorStatusEnum orderVendorStatus;
//    private String orderVendorStatus;
    @Schema(description = "erpPO")
    private String erpPo;
    @Schema(description = "客户订单商品集合")
    private List<OrderVendorGoodsDto> orderVendorGoods;
    @Schema(description = "下单日期-开始日期", pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @Schema(description = "下单日期-结束日期", pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    @Schema(description = "备注")
    private String memo;
    @Schema(description = "pageIndex")
    private Integer pageIndex;
    @Schema(description = "pageSize")
    private Integer pageSize;

    @Schema(description = "状态 old")
    private VendorOrderStatusV1Enum vendorOrderStatusV1Enum;
}
